﻿using Microsoft.AspNetCore.Mvc;

namespace GroupTwo_MVC.Controllers
{
    public class PurchaseInRepositoryController : Controller
    {
        private readonly IConfiguration _configuration;

        public PurchaseInRepositoryController(IConfiguration configuration)
        {
            _configuration = configuration;
        }
        /// <summary>
        /// 采购入库列表页面
        /// </summary>
        /// <returns></returns>
        public IActionResult GetPurchaseInStore()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
        /// <summary>
        /// 采购入库添加页面
        /// </summary>
        /// <returns></returns>
        public IActionResult AddPurchaseInStore()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
        /// <summary>
        /// 采购入库修改页面
        /// </summary>
        /// <returns></returns>
        public IActionResult UptPurchaseInStore()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
    }
}
